﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace Nomad.WebSync.Pocket.Services {
    static class Mobile {
        private static string url {
            get {
                var settings = new Settings();
                return settings.Service;
            }
        }

        public static WebSyncService.Mobile Connect() {
            var service = new WebSyncService.Mobile();
            service.WebSyncHeaderValue = Program.WebSyncHeader;
            service.Url = Mobile.url;
            return service;            
        }
    }
}
